﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Utils;

namespace Sio.Mdm.Server
{
    public static class Program
    {
        [STAThread()]
        public static void Main(params string[] args)
        {
            //args = new string[] { "/save:\"Setting 1.xml\"" };

            // Resolver for services' references
            Server.Initialize(args);

            // Wait for server to finish
            Logger.WriteDebug("Server is up and runnig. Press any key to stop");
            Console.ReadKey();

            // Dispose channel
            Server.Destroy();
        }
    }
}
